import request from '@/utils/request'

// 查询游戏区服列表
export function listGameqf(query) {
  return request({
    url: '/business/gameqf/list',
    method: 'get',
    params: query
  })
}

// 查询游戏区服详细
export function getGameqf(id) {
  return request({
    url: '/business/gameqf/' + id,
    method: 'get'
  })
}

// 新增游戏区服
export function addGameqf(data) {
  return request({
    url: '/business/gameqf',
    method: 'post',
    data: data
  })
}

// 修改游戏区服
export function updateGameqf(data) {
  return request({
    url: '/business/gameqf',
    method: 'put',
    data: data
  })
}

// 删除游戏区服
export function delGameqf(id) {
  return request({
    url: '/business/gameqf/' + id,
    method: 'delete'
  })
}
